#ifndef COMMON_HPP
#define COMMON_HPP

#include <stdint.h>
#include "SDL.h"

typedef struct {
    int r,
        g,
        b,
        a;
} BlockColor;

typedef struct {
    int x, y;
} PosCoor;

typedef struct {
    int x, y;
} Vec2;

void set_color(SDL_Color& color, int r, int g, int b, int a);
void set_vec2(Vec2& v, int x, int y);

#endif
